package com.yaozheng.vocationaltraining.iview;

/**
 * Created by xiaoqing on 2016/6/12.
 */
public abstract class BaseView implements IBaseView {

    private IView iView;

    public BaseView(IView iView) {
        this.iView = iView;
    }

    /**
     * 是否相应结果
     *
     * @return true
     */
    public boolean isResponseResult() {
        return iView.isResponseResult();
    }

    /**
     * 用户失效
     */
    public void tokenFail() {
        iView.tokenFail();
    }

}
